package com.gientech.elasticsearchdemo.service;

import com.gientech.elasticsearchdemo.entity.Book;

import java.util.Iterator;
import java.util.List;

public interface BookService {

    void deleteById(String id);

    void save(Book book);

    void saveAll(List<Book> list);

    Iterator<Book> findAll();

}
